<?php

class Picture{
	
	private $m_id; // integer
	private $m_title; // string
	private $m_username; // string
	private $m_date; // date
	
	// Konstruktor
	public function __construct($id, $title, $username, $date){
		
		$this->m_id = $id;
		$this->m_title = $title;
		$this->m_username = $username;
		$this->m_date = $date;
	}
	// get-metoder på alla parametrar
	public function getID(){
		return $this->m_id;
	}
	public function getTitle(){
		return $this->m_title;
	}
	public function getName(){
		return $this->m_username;
	}
	public function getDate(){
		return $this->m_date;
	}
	
}